package com.hunter.sqlSession;

import com.hunter.pojo.Configuration;
import com.hunter.pojo.MapperStatement;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @Classname Executor
 * @Description TODO
 * @Date 2021/7/22 23:26
 * @Created by haojie.liao
 */
public interface Executor {
    <E> List<E> query(Configuration configuration, MapperStatement mapperStatement, Object... params) throws SQLException, ClassNotFoundException, NoSuchFieldException, IllegalAccessException, IntrospectionException, InstantiationException, InvocationTargetException;
}
